Skip to main content

List bank

Get Bank

Service ini digunakan untuk melihat list kode bank dan nama bank

Service Info

HTTP MethodPOST
Service Code43
Http MethodPOST
Path.../v1.0/bank/list-bank
AuthenticationOAuth 2.0
Header NameTipe DataWajibDeskripsi
Content-TypeStringYapplication/json
X-TIMESTAMPStringYWaktu lokal klien saat ini yyyy-MM-ddTHH:mm:ss.SSSTZD format
X-PARTNER-IDStringYClient’s client_id (diberikan pada saat onboarding )
X-CHANNEL-IDStringYID channel merchant
X-SIGNATUREStringYDibuat dengan algoritma asymmetric with token : Signature Generation
X-EXTERNAL-IDStringYID external merchant (tidak boleh sama di hari yang sama)

Body

Nama FieldTipe DataWajibDeskripsi
merchantIdStringYKode unik yang dimiliki setiap merchant
{
"merchantId": "121xxxx"
};


Response

ParameterTipe DataDeskripsi
responseCodeStringKode response
responseMessageStringPesan response
additionalInfoArray Of ObjectInformasi tambahan.
nama_bankStringNama bank
code_bankIntegerKode bank
icon_urlStringicon bank
{
"responseCode": "2004300",
"responseMessage": "Successful",
"additionalInfo": [
{
"id_bank": 8,
"nama_bank": "Bank BCA",
"kode_bank": "014",
"swift_code": "CENAIDJA",
"city": "JAKARTA",
"icon_url": "https://static-gc2.bebasbayar.com/android/bank/bank-bca.png",
"is_bifast": 1,
"urutan": "000"
},
{
"id_bank": 5,
"nama_bank": "Bank BNI",
"kode_bank": "009",
"swift_code": "BNINIDJA",
"city": "JAKARTA",
"icon_url": "https://static-gc2.bebasbayar.com/android/bank/bni.png",
"is_bifast": 1,
"urutan": "000"
},
{
"id_bank": 2,
"nama_bank": "Bank BRI",
"kode_bank": "002",
"swift_code": "BRINIDJA",
"city": "JAKARTA",
"icon_url": "https://static-gc2.bebasbayar.com/android/bank/bri.png",
"is_bifast": 1,
"urutan": "000"
},
{
"id_bank": 4,
"nama_bank": "Bank Mandiri",
"kode_bank": "008",
"swift_code": "BMRIIDJASTL",
"city": "JAKARTA",
"icon_url": "https://static-gc2.bebasbayar.com/android/bank/bank-mandiri.png",
"is_bifast": 1,
"urutan": "000"
},
]
}

List Response Code

Response CodeResponse MessageDescription
2004300Success
4004301Invalid field format { field name }
4014300Unauthorized. Invalid SignatureX-Signature salah
4094300Cannot use same X-EXTERNAL-ID in same dayX-External-ID sudah pernah digunakan di hari yang sama
4044301Bad RequestRequest header ada yang salah / kurang
4044300Unauthorized. Client Forbidden Access APIPartner tidak dapat mengakses api terkait
5004301General ErrorTerjadi kesalahan